package com.dream.keigezhushou.Activity.kege.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.dream.keigezhushou.R;

/**
 * Created by Administrator on 2017/3/16.
 * 我的K歌
 *
 */
public class MySingingDetailAdapter extends BaseAdapter{

    private Context mContext;
    int c = 12;

    public MySingingDetailAdapter(Context context) {
        this.mContext=context;
    }

    @Override
    public int getCount() {
        return c;
    }

    @Override
    public Object getItem(int i) {
        return i;
    }

    @Override
    public long getItemId(int i) {
        return i;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {

        ProHolder mHolder = null;
        if (view == null) {
            view = LayoutInflater.from(mContext).inflate(R.layout.item_my_singing_detail,null);
            mHolder = new ProHolder();
            view.setTag(mHolder);
        }else {
            mHolder = (ProHolder)view.getTag();
        }
        return view;
    }


    class ProHolder{

    }
}